package com.vn.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Embeddable;

@Embeddable 
public class PaymentInstallmentPK implements Serializable {
	
	public PaymentInstallmentPK(){}

	public PaymentInstallmentPK(int contractID, Date datePayment) {
		this.contractID = contractID;
		this.datePayment = datePayment;
	}

	@Column(name="ContractID")
	private int contractID;
	
	@Column(name="DatePayment")
	private Date datePayment;

	public int getContractID() {
		return contractID;
	}

	public void setContractID(int contractID) {
		this.contractID = contractID;
	}

	public Date getDatePayment() {
		return datePayment;
	}

	public void setDatePayment(Date datePayment) {
		this.datePayment = datePayment;
	}
	
	
}
